package com.gdpu.project.vo;

import java.util.Date;

/**
 * CgPatent entity. @author MyEclipse Persistence Tools
 */

public class CgPatent implements java.io.Serializable {

	// Fields
	/**
	 * 每分酬金（元）
	 */
	private float REWORD_PER_POINT=4.6f; 
	
	private Integer id;
	/**
	 * 负责人(教师名字)
	 */
	private String fuZeRen;
	/**
	 * 专利名称
	 */
	private String patentTitle;
	/**
	 * 获得证书时间
	 */
	private Date obtainCertificateTime ;
	/**
	 * 专利类别
	 */
	private String patentType;	
	private float keYanFen;
	/**
	 * 科研分酬金
	 */
	private float keYanFenReword;
	/**
	 * 奖励酬金
	 */
	private float reword;
	private String comment;
	private String patentId;
	private Date applyDate;
	private String teacherId;
	private String shouYiHao;
	private String xueKe;
	private String schoolSign;
	private String publishRange;

	// Constructors

	/** default constructor */
	public CgPatent() {
	}

	/** full constructor */
	public CgPatent(String patentId, Date applyDate, String teacherId,
			String patentTitle, String shouYiHao, String patentType,
			String xueKe, String schoolSign, String publishRange,
			float keYanFen, String comment) {
		this.patentId = patentId;
		this.applyDate = applyDate;
		this.teacherId = teacherId;
		this.patentTitle = patentTitle;
		this.shouYiHao = shouYiHao;
		this.patentType = patentType;
		this.xueKe = xueKe;
		this.schoolSign = schoolSign;
		this.publishRange = publishRange;
		this.keYanFen = keYanFen;
		this.comment = comment;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPatentId() {
		return this.patentId;
	}

	public void setPatentId(String patentId) {
		this.patentId = patentId;
	}

	public Date getApplyDate() {
		return this.applyDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public String getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getPatentTitle() {
		return this.patentTitle;
	}

	public void setPatentTitle(String patentTitle) {
		this.patentTitle = patentTitle;
	}

	public String getShouYiHao() {
		return this.shouYiHao;
	}

	public void setShouYiHao(String shouYiHao) {
		this.shouYiHao = shouYiHao;
	}

	public String getPatentType() {
		return this.patentType;
	}

	public void setPatentType(String patentType) {
		this.patentType = patentType;
	}

	public String getXueKe() {
		return this.xueKe;
	}

	public void setXueKe(String xueKe) {
		this.xueKe = xueKe;
	}

	public String getSchoolSign() {
		return this.schoolSign;
	}

	public void setSchoolSign(String schoolSign) {
		this.schoolSign = schoolSign;
	}

	public String getPublishRange() {
		return this.publishRange;
	}

	public void setPublishRange(String publishRange) {
		this.publishRange = publishRange;
	}

	public float getKeYanFen() {
		return this.keYanFen;
	}

	public void setKeYanFen(float keYanFen) {
		this.keYanFen = keYanFen;
		this.setKeYanFenReword(keYanFen*REWORD_PER_POINT);
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getFuZeRen() {
		return fuZeRen;
	}

	public Date getObtainCertificateTime() {
		return obtainCertificateTime;
	}

	public float getKeYanFenReword() {
		return keYanFenReword;
	}

	public float getReword() {
		return reword;
	}

	public void setFuZeRen(String fuZeRen) {
		this.fuZeRen = fuZeRen;
	}

	public void setObtainCertificateTime(Date obtainCertificateTime) {
		this.obtainCertificateTime = obtainCertificateTime;
	}

	public void setKeYanFenReword(float keYanFenReword) {
		this.keYanFenReword = keYanFenReword;
	}

	public void setReword(float reword) {
		this.reword = reword;
	}

}